using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Mall.Api.ParamModel
{
    public class NewCommodity
    {
        public int Id { get; set; }
        // public int CommodityId {get;set;}

        //商品编号
        // public string ProductCode { get; set; }

        //商品名称
        public string ProductName { get; set; }
        //简介
        public string Introduction { get; set; }
        //分类Id
        public int ClassId { get; set; }
        //供应商Id
        // public int SupplierId { get; set; }

        //基本价格
        public double Price { get; set; }
        //原基本价格
        public double OriginalPrice { get; set; }
        //封面图片
        public string CoverPicture { get; set; }
        //品牌名称
        public string BrandName { get; set; }
        //品类名称
        public string ClassName { get; set; }
        //仓库名称
        public string WarehouseName { get; set; }

         //数量
        public int AddNumber {get;set;}
        //资源名称
        // public string ResourceName { get; set; }
        //资源id
        // public int ResourceId { get; set; }
        //属性名称
        public IEnumerable<Property> Properties { get; set; }
        //商品属性id
        public int CommodityPropertyId { get; set; }
        //商品属性值id
        public int CommodityPropertyValueId { get; set; }
        //属性值
        public IEnumerable<string> PropertyValue { get; set; }
        //价格
        public double ValuePrice { get; set; }
        public DateTime CreatedTime { get; set; }
        public DateTime UpdatedTime { get; set; }






    }
}